home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / util / libs / queue.lzh / queue / makefile next >
Makefile  |  1995-10-15  |  462b  |  23 lines

  1.  
  2. INCLUDE = -Ignu:sources.libnix/headers
  3. OBJS = gnu:lib/libnix/libinit.o queue_library.o
  4. LIBS = -lamiga
  5. LIBFLAGS = -noixemul -nostdlib -fbaserel
  6.  
  7. all: libs:queue.library
  8.  
  9. .c.o:
  10.     gcc $(LIBFLAGS) $(INCLUDE) $*.c -c -o $*.o
  11.  
  12. libs:queue.library: $(OBJS)
  13.     gcc $(LIBFLAGS) $(OBJS) -o $@ $(LIBS)
  14.  
  15. clean:
  16.     delete \#?.o libs:queue.library
  17.  
  18. queue_test.o:    queue_test.c
  19.     gcc -noixemul queue_test.c -c -o queue_test.o
  20.  
  21. qtest:    queue_test.o
  22.     gcc -noixemul queue_test.o -o qtest
  23.